    <g:form action="update" method="post" name="createPost">
            <input type="checkbox" name="t" value="" checked="true" style="display:none">
            <input type="checkbox" name="s" value="" checked="true"  style="display:none">
            <input type="checkbox" name="p" value=""  checked="true" style="display:none">
            <input type="checkbox" name="t" value=""  checked="true" style="display:none">
            <input type="checkbox" name="s" value=""  checked="true" style="display:none">
            <input type="checkbox" name="p" value=""  checked="true" style="display:none">
            <div class="list">
            <input type="text" name="newdate" value="${new Date().format('yyyy-MM-dd')}">
            <h1>老师</h1>

                <table>
                    <tbody>
                    <g:each in="${t}" status="i" var="instance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                            <td><input type="checkbox" name="t" value="${instance.id}"></td>                        
                            <td><g:link action="show" id="${instance.id}">${instance.username}</g:link></td>
                        

                            <td>${instance.realname}</td>
                        
                            <td>${instance.mobile}</td>
                        
                            <td>${instance.tel}</td>
                        
                            <td><g:formatDate date="${instance.createTime}" /></td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
                            <h1>学生</h1>
                <table>
                    <tbody>
                    <g:each in="${s}" status="i" var="instance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                            <td><input type="checkbox" name="s" value="${instance.id}"></td>                        
                            <td><g:link action="show" id="${instance.id}">${instance.username}</g:link></td>
                        
                            <td>${instance.realname}</td>
                        
                            <td>${instance.mobile}</td>
                        
                            <td>${instance.tel}</td>
                        
                            <td><g:formatDate date="${instance.createTime}" /></td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
                          <h1>信息</h1>
                <table>
                    <tbody>
                    <g:each in="${p}" status="i" var="instance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                            <td><input type="checkbox" name="p" value="${instance.id}"></td>                        
                            <td><g:link action="show" id="${instance.id}">${instance.title}</g:link></td>
                         
                            <td>${instance.student}</td>
                                                
                            <td><g:formatDate date="${instance.createTime}" /></td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                    <span class="button"><g:submitButton name="create" class="save" value="${message(code: 'default.button.create.label', default: 'Create')}" /></span>
                </div>   
            </g:form>